﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Hosteria_VS_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        Habitacion:
    
        <asp:TextBox ID="txtHabitacion" runat="server"></asp:TextBox>
        <br />
        Fecha:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtFecha" runat="server"></asp:TextBox>
    <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
        <br />
        <asp:LinkButton ID="btnBuscar" runat="server">Buscar</asp:LinkButton>
    
    </div>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:TESTConnectionString %>" 
        SelectCommand="SELECT [Desde], [Hasta] FROM [Reservas] WHERE ([IdHabitacion] = @IdHabitacion)">
    </asp:SqlDataSource>
    </form>
</body>
</html>
